package com.ocm.core.dao;

import java.util.List;

import com.ocm.core.domain.ClassDefinition;
import com.ocm.core.domain.ClassDefinitionType;


public interface ClassDefDao extends GenericDao<ClassDefinition> {
   public List<ClassDefinition> findAll();

   public ClassDefinition findName(Long storageId, String name);

   public ClassDefinition findUUID(Long storageId, String uuid);

   public List<ClassDefinition> findByParentId (Long parentId, ClassDefinitionType... types);

   public List<ClassDefinition> findOriginalClass (Long storageId);
}
